package com.action.boot.mongo.mongo_template.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

/**
 * Created by Wuxiang on 2017/11/30.
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "test_bulk_update")
public class BulkInfo {
    private String id;
    private String name;

    private List<BulkList> bulkLists;
}
